package com.example.demo.ioc.v1;

public class Car {
    private Framework framework;

    public Car() {  //car的构造方法
        framework = new Framework();
        System.out.println("car init....");
    }

    public void run() {
        System.out.println("car run...");
    }
}
